﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<link rel="Stylesheet" type="text/css" media="screen" href="Screen.css" />
  <title>STP_OnBridgeAddressChanged</title>
</head>
<body>
	<h3>STP_OnBridgeAddressChanged</h3>
	<hr />
<pre>
void STP_OnBridgeAddressChanged
(
    BRIDGE*             bridge,
    const unsigned char address [6],
    unsigned long       timestampMilliseconds
);
</pre>
	<h4>
		Summary</h4>
	<p>
		Function which the application must call before starting a bridge for the first time, and 
		then every time the bridge&#39;s MAC address is changed.</p>
	<h4>
		Parameters</h4>
	<dl>
			<dt>bridge</dt>
		<dd>Pointer to a BRIDGE object, obtained from <a href="STP_CreateBridge.html">
			STP_CreateBridge</a>.</dd>
		<dt>address</dt>
		<dd>The new MAC address of the STP bridge. This MAC address need not be equal to
			the MAC address used by other Ethernet protocols running on the same device.
		</dd>
		<dt>timestampMilliseconds</dt>
		<dd>A value representing the number of milliseconds elapsed since firmware startup. Used 
			only for the debug log. </dd>
	</dl>
	<h4>
		Remarks</h4>
		<p>
			Execution of this function is a potentially lengthy process. 
			It may call various callbacks multiple times.</p>
	
</body>
</html>
